package Controllers;

import GUI.MainGUI;
import GUI.MainScreenStudent;
import client.ChatClient;
import entities.Student;

/**
 *@author Juan Alapin - 324507516
 *@author Giora Yaffe - 036551281
 *@author Shachar Gritzman - 300174026
 *@author Nir Porat - 021515580
*/

public class StudentController {
	
	
	private ChatClient client;
	private MainGUI mainGui;
	private MainScreenStudent studentScreen;
	private Student student;
	
	public StudentController(){
		
	}
	
	/**
	 * Constructor
	 * @param client:ChatClient
	 * @param mainGui:MainGUI
	 */
	public StudentController(ChatClient client, MainGUI mainGui){
		
		this.setClient(client);
		this.setMainGui(mainGui);
		this.studentScreen = new MainScreenStudent(mainGui);
		this.studentScreen.setBounds(100, 100, 800, 800);
		this.studentScreen.setVisible(true);
		
		
		
		
	}

	public ChatClient getClient() {
		return client;
	}

	public void setClient(ChatClient client) {
		this.client = client;
	}

	public MainGUI getMainGui() {
		return mainGui;
	}

	public void setMainGui(MainGUI mainGui) {
		this.mainGui = mainGui;
	}

	public Student getStudent() {
		return student;
	}

	public void setStudent(Student student) {
		this.student = student;
	}

}
